#include <Windows.h>
#include "resource.h"
#include "Variable.h"

void InitStep3(HWND hDlg)
{
	//HWND Pic = GetDlgItem(hDlg,IDB_BITMAP1);
	//HDC hdc = GetDC(hDlg);
	int iScreenWidth = GetSystemMetrics(SM_CXFULLSCREEN);
	int iScreenHeight = GetSystemMetrics(SM_CYFULLSCREEN);


	RECT rect;
	GetWindowRect(hDlg,&rect);
	
	LONG width = rect.right;
	LONG height = rect.bottom;
	int inewLeft = (iScreenWidth-width)/2;
	int inewTop = (iScreenHeight-height)/2;

	MoveWindow(hDlg,inewLeft,inewTop,width,height,FALSE);

}